-
Notifications
You must be signed in to change notification settings - Fork 672
[Test] Add Spring Cloud Gateway 4.3.3 and 5.0.0 to gateway scenario #787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
I’ve reverted the inclusion of Gateway 5.0.x from this PR. Reason: the current gateway-4.x-scenario is based on a Spring Boot 3.x environment, and Gateway 5.0.x seems to require a newer Spring Boot / Spring Framework baseline, which caused dependency resolution conflicts in the existing scenario. For now I’ll keep this PR focused on Gateway 4.3.3. I’m happy to follow up separately for Gateway 5.x — please let me know if introducing a dedicated gateway-5.x-scenario sounds like the right approach. |
It depends whether 5.x requires a new plugin implementation. If not, you could just add a new test scenario for 5.x, copy most of codes from here, and change Spring version to newer. |
Thanks for the guidance! I checked NettyRoutingFilter in Gateway 5.x and the main interception point (getHttpClient) still looks structurally similar to 4.x, so my current assumption is that the existing plugin might continue to work. I’ll follow your suggestion and add a separate gateway-5.x-scenario (copied from 4.x with upgraded Spring/Gateway versions) to validate runtime behavior. If I hit any incompatibilities requiring plugin changes, I’ll report back. |
|
If this 4.x test passes, please add plugin docs and change log to indicate this new supported version. |
|
It seems 4.3.3 doesn't work. |
|
Thanks — I’m reproducing the failing gateway-4.x-scenario-jdk17 locally now to pinpoint the exact runtime failure (startup vs assertion). |
Summary
This PR adds Spring Cloud Gateway 4.3.3 and 5.0.0 to the gateway-4.x-scenario test matrix.
Compatibility Analysis
I verified source-level compatibility of NettyRoutingFilter in Gateway 4.3.3 and 5.0.0 against the existing v412x plugin.
Verification